import request from "../utils/request"

/**
 * 
 * @get 社区公告列表
 */
export const announcementAPI = () => {
  return request.get('/announcement')
}

/**
 * 
 * @param {*} id 
 * @returns 社区公告详情
 */
export const announcementdetailAPI = id => {
  return request.get(`/announcement/${id}`)
}